<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style>

        p{
            margin: 0;
            padding: 0;
            /*border: 1px solid #333;*/
            color: red;
            background-color: antiquewhite;
            /*字体对其*/
            /*text-align: left;  */
            /*缩进*/
            text-indent: 20px;
            letter-spacing: 2px;
            /*字体行高*/
            line-height: 50px;
            /*字体下划线*/
            text-decoration: line-through;
            /*文字转换， 大写，小写 首字母大写*/
            text-transform: capitalize;
            /*字体渐变*/
            text-shadow: lightblue 10px -5px 10px;
            /*字体型号*/
            font-family:"黑体";
            /*字体加粗*/
            font-weight: 300;
            /*字体大小*/
            font-size: 20px;
        }
    </style>
</head>
<body>
<div style="height: 50px; border: 1px solid #333;box-shadow: red 10px -2px 10px;" >
    <p> 文本dwdw </p>
</div>

</body>
</html>